//
//  Common.swift
//  glzbowei
//
//  Created by 高伦展 on 2017/11/30.
//  Copyright © 2017年 glz. All rights reserved.
//

//目的：提供全局共享属性或者方法，类似于 pch 文件
import UIKit

/// 切换根视图控制器通知 - 一定要够长，要有前缀
let WBSwitchRootViewControllerNotification = "WBSwitchRootViewControllerNotification"

/// 选中照片通知
let WBStatusSelectedPhotoNotification = "WBStatusSelectedPhotoNotification"
/// 选中照片的key - indexPath
let WBStatusSelectedPhotoIndexPathKey = "WBStatusSelectedPhotoIndexPathKey"
/// 选中照片的key - URL数组
let WBStatusSelectedPhotoURLsKey = "WBStatusSelectedPhotoURLsKey"

/// 全局外观渲染颜色 -> 延展出 ‘配色’ 的管理类
let WBAppearanceTintColor = UIColor.orange

func delay(delta:Double,callFunc:@escaping ()->()){
   
    DispatchQueue.main.asyncAfter(deadline: .now() + delta) {
        callFunc()
    }
}

